Conditions | 1 |
Total Lines | 14 |
Code Lines | 12 |
Lines | 0 |
Ratio | 0 % |
Tests | 2 |
CRAP Score | 1.037 |
Changes | 0 |
1 | import React from 'react'; |
||
25 | |||
26 | render(model: Model): void { |
||
27 | 1 | const adapter = this.adapter; |
|
28 | |||
29 | 1 | ReactDOM.render( |
|
30 | <div className="mdc-typography"> |
||
31 | {model.styleSet.map( |
||
32 | (path: string) => <link key={'stylePath_' + path} rel="stylesheet" href={path} /> |
||
33 | )} |
||
34 | <TopBar model={model.topAppBar} adapter={adapter} /> |
||
35 | <SideMenu model={model.sideMenu} adapter={adapter} /> |
||
36 | <Page model={model.page} /> |
||
37 | </div>, |
||
38 | this.containerNode |
||
39 | ); |
||
42 |